fixed issue where graceful shutdown whas waiting for 1 accept to trigger close