Refactor datasource-invoke to use Process#send()