Added awaitUninterruptibly() since aysnc close() could happen first