Application crashes: issue related to socket connection

Hi,

I’m facing the same issue (see my post here) with Retrofit. I don’t have a stack trace so I can’t be sure it’s 100% related, but do you know if I can somehow manage to close any Retrofit connection when the app goes in background?