Protect posted messages

Prevent deletion of messages if  this would corrupt post in-transit.
Attempt to workaround #471

Slightly more robust but still hangs