Cleaning up slave