Keep one’s foot in the door

Meaning: To maintain an opportunity or connection that could lead to something better.

Example: Even if you start with a temporary position, it can help you keep your foot in the door.