Null dereference check

Checking null dereference on response, if there's no response yet