private void useGCMCommand() throws Exception {
String ac2dmAuth = loginAC2DM();
MTalkConnector connector = new MTalkConnector(new NotificationListener(service));
ConnectFuture connectFuture = connector.connect();
connectFuture.await(TIMEOUT);
if (!connectFuture.isConnected()) {
throw new IOException("Couldn't connect to GTALK server!");
}