Execute background jobs in remote.php in case the execution mode is 'aja...

...x'

fixes #8761