fix heartbeat impl
Adding valgrind supprssion for libz