api: Fix reaper functions for socket clients