Fixed connection break problems.