I commented the code where anything closes, then I went through and wrote where I thought the code had an issue with the socket closing

public void respondToClient(Socket client, int queIndex) throws
IOException {
try {
// Create Output Streams
PrintWriter outQue = new
PrintWriter(requestQue.get(queIndex).client.getOutputStream());
outQue.flush();
PrintWriter outReq = new PrintWriter(client.getOutputStream());
outReq.flush();

outQue.print("SOMETHING OUT");
outReq.print("SOMETHING OUT");

outQue.close(); // Close Stream (3rd close)
outReq.close(); // Close Stream (4th close)
requestQue.get(queIndex).client.close(); // Close Que Socket (5th close)

requestQue.remove(queIndex); // Remove Que Person From Que
client.close(); // Close Requester Socket (6th close) //***Is this where
the error is?***