Fix. ctx:socket_count method in ffi binding.
Fix. shutdown test work with autoclose socket.