Remove blocking call in spec