check_port_free: Inherit from Exception instead of BaseException

See http://docs.python.org/2/library/exceptions.html#exceptions.BaseException for the rationale.