grating stimulu supdate, network connection close bugfix