Most contract jobs are at will that means any time you find a good job you can leave. If in professional way, give one or two weeks notice. They can let you stay or go with their will, whatever they want to do.