stream close in finally statement