Sleep a while after starting postgresql server to wait for the service ready to serve