bus = (ClientMessageBus) ErraiBus.get();
InitVotes.setTimeoutMillis(60000);
if (!(TaskManagerFactory.get() instanceof ClientTaskManager)) {
TaskManagerFactory.setTaskManagerProvider(new TaskManagerProvider() {
private ClientTaskManager clientTaskManager = new ClientTaskManager();
@Override
public TaskManager get() {
return clientTaskManager;