add load animation when do websocket connect
close loading animation when websocket error