Only start websocket server if background/continous scanning