Added in heartbeat threads for each connection