add nbd server stop function