Channel not opened


We are getting randomly occuring error “org.eclipse.jgit.api.errors.TransportException: <gitlab_ssh_repo_url>/automate.git: channel is not opened.” We are not able to identify the exact cause or not able to reproduce this behaviour evry time. We are using SSh to connect to the repo and connecting through jgit liberary. We have observed this behaviour specific to GitLab and not for github and bitbucket.
Any help would be appriciated.