implemented connect/disconnect behavior for Teamforge service.