exit listener should work, not fully tested with stephen's new server
code.