Form saving goes in infinite loop when internet is not working.