Added socket timeout of 30s to irclib.
Changed bot loop to trigger socket timeouts.
Made __main__ try to restart bot every 5s when failing.