removed delay between doQuit and doConnect