Avoid iOS mobile app crash due to Invalid response from server by using SNResponseHandler