add close() to serversender
remove close stautscode