Depending on how flexible the OP with his income and timing he could adjust his income in the year that he sells the house to reduce or eliminate any taxes. This is much easier to do if self employed.