Split writing and disconnecting from IRCd.java