Changed restart function to be executed after PASV