Keep java.net.SocketTimeoutException for OpenJDK

java.net.SocketTimeoutException is used from native code in java.net.SocketInputStream.socketRead0