added try/catch to forever.js