Account for unsynced posts in progress

Don't crash the looping function
Account for connection loss with r/a/dio API