fix: switch to allatonce mode to prevent forking (closes #705)