Hiding progress dialog on error response