Tidying up some thread interrupt details, converting java_net natives.