Changed receiver close implementation, maybe that helps for Windows