You can't literally "pause the execution" of your plugin. set_task() is what you would use to execute a function after a certain amount of time. You will have to be more specific to get better answers. Explain exactly what you are trying to do. Also, if you have code, then show your code.