Adding stale connection checker. Also adding useful debugging information for the InstanceMonitor and the AggregateMonitor