public void setAmChoking(boolean t){
		if(conState != ConnectionState.connected){
			throw new RuntimeException("Can only send choke state on 'connected' connections");
		}
		try {
			if (am_choking != t) {
				if(t) {
					mp.choke(sockOut);
					if(peerRequests!=null)
					peerRequests.clear();
				} else {
					mp.unchoke(sockOut);
				}
				am_choking = t;
				maintenance+=5;
			}
		} catch (IOException e) {
			conState = ConnectionState.closed;
		}
	}