Properly set the time out in the REST Api adaptor