Well it just kills the script instead. I would very much appreciate a developer's input.
My exit function:
PHP Code:
function gotonextcron($message)
{
global $nextitem, $stopwatch;
static $logprefix = "vBMS:";
log_cron_action("$logprefix $message (" . $stopwatch->elapsed() . " sec into mail check)", $nextitem);
exit; // should call a shutdown function rather than nuking itself
}