Fixed issue where some IRC clients could not quit / close