No, if your work permit is expiring within 4 months, you can apply for an open work permit based on your submitted application. You can use the auto generated letter of receipt from ircc upon submitting your tr to pr application to apply for your OWP.