Wrap application instantiation in try/catch