Finalizing the message operation