Start the io thread after adding tasks to the io queue
Gateway election + Added logger