Reduced timeout, added 'reconnect' event.
Added reconnect tests