I hope all goes well.
My advice would be to get legal advice ...immediately...........losing the $500 would be one thing, but you want to make sure you will not be in breach of the contract, and leave yourself vulnerable to a lawsuit. Every state is different.
Ask an attorney, not a bunch of Realtors - we can't give legal advice!!