Added a check for when the body variable is undefined.

This is triggered when many requests are submitted in quick succession and the Jira server doesn't return a valid response.  The request should be retried if this error is thrown.