fix when close is emitted after pushes
1.0.3