Fixed OSError. IrcConnection.quit() now actually terminates the thread.