You need to do something with the response in the else state, otherwise the request will hang infinitely