rejects the promise on server errors that preceed the first listen callback