Handling Null response due to connection issues.