Help for this page
. . . callback => { ... # already been started. Just call $pm->finish when you want to end # the connection and terminate the task. }