CancellableConnection () { return new CancellableConnection() { @Override protected void doTest() throws Exception { myProjects = null; try { refreshProjects(); } catch (Exception e) { throw handleException(e); } } @Override public void cancel() { } }; }