removed connection checking

replaced with timeout in ajax request