added try catch to non deferedd functions in the pipeline