How can make CC game update when tab is not active?

hello guys. i’m using cocos creator 2.2.2, my game seems to pause entirely when I switch to a other tab or minmize (on chrome).Is there a way to keep it running even when the tab is not active?
because i 'm on make network game by using websocket.