Throw exception if message sending fails