Fixed run logic in mantis_client; now exits gracefully upon request error