Bug fix & unit test added

IRIS was retrying 5 times if exception not belongs to SERVER_ERROR family e.g bad request.