Added a close for the IRC connection