will never contest by-elections now: