Completing implementation of DiscardCommand in openigtlink remote