bug fix: when printUrlToFile was used task was not calling next after the path was received