use wait_port() for waiting redis-server will ready.