remotely executed function is now in try/catch block so that an error doesn't bring whole server down.