Fix timing issues in spec.