CLC-2617 Second attempt: clear active conns periodically when in messaging context

Experimental followup patch. See comment on JIRA: https://jira.media.berkeley.edu/jira/browse/CLC-2617?focusedCommentId=112404&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-112404