Make unbind synchronous