[Compass-ci] [PATCH compass-ci] fix: scheduler: close connection after API call