patched up memory leak in SF.delay