*furious* connection validity checking