Add missing returns in Selector_synchronize and Selector_unlock