Fix memory leak

I've got an issue with ack message from cube to shutter contact