Looking for a way to log people out when they have been idle

I am looking for a plug in to work with membership 2 to log people out when their accounts have been idle for a specified amount of time. The plugin I have been using is out of date. Any ideas of plugins that will work with Membership 2? Thanks!