completes tests and all disconnect events and refresh