msg_pingpong - close the pep and better error reporting

Signed-off-by: Reese Faucette <rfaucett@cisco.com>