httplite: put 'shutdown server on last client deregistration' optimization in a thread and wait 30 seconds before checking if no clients are registered. Fixes issue in which sole client "bounces" registration service on start and causes deadlock in server.
|