I'd avoid calling the listener while you have the lock unless you have a super good reason not to.  Lock creep can be scary when someone decides to do something silly like send a synchronous tcp message in the listener.