Added try-catch block around creation of pipeline OpenEvent. #977