Check for disconnected statements