fix issue when a THttpServer instance is released without a previous bound socket