You must apply for the EPO at least two weeks before leaving Indonesia if you or your sponsor will not extend your KITAS.