make rgbdsend clean up on termination