Apply for EAD asap. Use EAD to find a new job is easier than H1b. You should be fine if temporarily without a job since you are in AOS status. But finding a new job is essential for your I-485 approval.