Exiting send_request when fp is empty so the while loop doesn't go forever.
Merge pull request #3 from delphian/7.x-1.x

Exiting send_request when fp is empty