SAPI: Handle failed initialization gracefully