Run a function exactly one time