Isn't there a saying in English that says something like not to cut off your nose to spite your face? You have not said either if you have been offered the contract so you might well be counting your chickens before they have hatched.
I fell into freelancing in 1994 - I was out of work - a recruiter called and suggested I express an interest in a project that went for 9months. It paid well, it was near three hours from home and brought on unexpected new (and enjoyable experience). It's 2016 and I'm still freelancing/contracting, 23 clients and five countries later!
My experience is it's easier to get a job when you are in a job. It keeps your skills current, it gets you into routine (getting up and out in the morning), it pays the bills and creates new relationships. There is more to doing the job, than doing the job. Few folk are lucky to do a job they really enjoy - you just need to adjust your mindset. I have learned if I think I will be unhappy, I get expensive. If I think I might be happy, I become less expensive.
Apply for all work - contract or fulltime - I would not tell an employer that you could cut the contract short by leaving to go elsewhere as interviewing candidates can be exhaustive, and if you tell a prospective employer you would jump ship if you got a better offer, they are likely to be offended, and unlikely to seriously consider you for anything.
If you do get offered an ideal job while in the middle of a contract, then tell your future employer that you have a one or two month exit clause before you can start. Tell them you could just cut and run - and you will if need be - but you would prefer not to rock boats. Your future employer will respect your honesty and your ethics and if they are sensible it will also show them you are responsible and unlikely to jump ship and leave them if you get an even better offer.
And... who knows... the contract you think you'll enjoy less could be the most interesting! I know of a few cases where this has proved true.
Best of luck!