how do I have something constantly running as a background process, without affecting any other running code, for example the asynchronous function could have a 5 second wai