add error callback to fork service