Fix idle connection monitoring