check if connection thread is running
Added brala.utils.config