Fix timeline data not getting right userid, close connections sort of