Fix blocking call