query0.setMessageId(submitResp.getMessageId());
query0.setSourceAddress(new Address((byte)0x03, (byte)0x00, "40404"));
WindowFuture<Integer,PduRequest,PduResponse> future1 = session0.sendRequestPdu(query0, 10000, true);
while (!future1.isDone()) {}
QuerySmResp queryResp = (QuerySmResp)future1.getResponse();
System.out.println("Press any key to send cancel #1");
System.in.read();
CancelSm cancel0 = new CancelSm();