added a time limit for plugins, pass a limit kwarg for the time limit in minutes