in src/sagemaker_mxnet_serving_container/serving.py [0:0]
def _start_model_server():
# there's a race condition that causes the model server command to
# sometimes fail with 'bad address'. more investigation needed
# retry starting mms until it's ready
model_server.start_model_server(handler_service=HANDLER_SERVICE)