@Override
	public void onMessageNotDelivered(int messageId, int resendMessageId, String message) {
		System.out.println("Message not delivered: \"" + message + "\" Resending...");
		try {
			conn.resend(resendMessageId, message);
		} catch (CouldNotSendPacketException e) {
			System.out.println("Message could not be resent: " + e.getMessage());
		}
	}