Closing entries after x amount of time