Refactor container startup process to make sure all server sockets has been established before init user permissions and proceed with provision