Do you keep people around who are not right for you for too long? Like doctors, partners...even chatting with neighbours?

We were discussing dating...when one is on a date and you know it's not going anywhere...would you then leave or stay for another agonizing 2 hours...? Then I realized it could also be about other areas of life...