Implemented reset functionality for senders and receiver