- attempt to improve mutex locking in irc client code to avoid dead locks