void (@NotNull ServerConnection<?> connection) { connection.computeDeployments(() -> new Alarm().addRequest(() -> { if (connection == ServerConnectionManager.getInstance().getConnection(connection.getServer())) { pollDeployments(connection); } }, POLL_DEPLOYMENTS_DELAY, ModalityState.any())); }