cleaning up shm transmitter