try to reconnect if message delivery fails

Addresses #4 
`pass` should be on its own line here.