quick fix, working threaded websockets from db