ef9a2175ee
The call would deadlock because lines 62-67 in ConnectionHandler were in the synchronized block. The is.read() would block and therefore call to shutdown() would block too. is.read() would never unblock because the stream was ready to be closed, and it needs to be done so from shutdown(). Removing the synchronized block fixes it and is save, as it was not needed here. Change-Id: I3326098c47ee18c4eabaa8510b27ca82debce360