Call garbage collector explicitly after closing a stream (frees up memory).