Investor Timing: When Startups Should Seek Funding