put multi packet protocol written. error occuring in stopping get and put