fixed

the progress bar was showing even when connection was closed