bootStrap web socket leading to refresh