rely on is_connected, which saves some unecessary db queries