The best time is when your work is absolutely ready for publication. The worst time is any time before that.

Agents will close submissions at different times for different reasons. Some take time off when the kids are out of school. Some take time off for the holidays. Many will have delays in reading times. But there are other agents, and you just need to work around your agent list when sending out queries.