Do blocking calls in the correct way