Add a check for expired connections that are still running