move message destroy at the end

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>
fix memory leak when sending outbound messages

Link: https://github.com/GeneAssembly/biosal/issues/105
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>