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