added a heartbeat for when mysql is inactive

Fixes  #67