Avoid connect to xirsys if not configured. Fixes #24.