title: React Native socket.io disconnects when app is on background mode
body: <p>I am making a react native app for android devices using socket.io-client. Everything works fine but when the app goes on background mode (e.g. an other app launched) the socket connections disconnects from the server (app emits 'disconnect' event).
  What is the best way to deal with it?</p>