block_server function

Block server