change to use return instead throw

for sender.status operation I'm changing the error case , instead of throw an exception I'm returning the error response.

this solve the problem that when the sender.status call return  false , the response is never reached by the client that made the call, because the exception is never caught..
this way will ensure that the complete response will be available , not just the message