Is there a way to code into my project a timer that will close the front end after so many minutes of no activity?