Attempt to fix Capybara race conditions.