Firefox hangs on safeExecute