Better error handling if participant create fails

Catching the exception in the application if the DomainParticipant fails
to create, and not crashing on shutdown after the failure.