fix failing spec randomly
refactoring `server_start` in spec_helper.rb