2 and 3 is correct but if your new company provide visa then go ahead.............but before leave the country dont fail to get NOC.........otherwise you will be in sick...