Close too in java