Kryo server and client initiation are put in AsyncTasks