Validate connection before post