Bug fixes for worker bootstrap with ip and port number.