Prevent duplicate handles