Wrap status bar call in try-catch