properly use blocking_section for sock_cb