Cleanup receive method