SQL message bus fixes:

- Corrected flaws in tracking of errors and stream opening
- Made SQL notifications timeout after 60 seconds to avoid cases where they get "stuck" after errors and never fire again