Handle request error

I have faced with problem that when remote server is not accessible then callback function doesn't invoked at all.