fixes #13923
- shutdown netty transport if listen fail
- register termination hook of stop scheduling before the initialization
  of actor ref provider

These two fixes addresses the issue of hanged termination of actor system
startup when underlying actor ref provider fails.