public async Task <bool> CreateTeamAsync(string name) { try { await TeamCollection.InsertOneAsync(new Team(name)).TimeoutAfter(TimeoutMilisec); return(true); } catch (TimeoutException e) { Log.Error("Received time out for creating team => async ", e); return(false); } catch (Exception e) { Log.Error("Failed to create team async => ", e); return(false); } }