Updating to gradle 1.10 and fixing a bug where failure in connection was not removing the RCC