add error handle in skynet.fork and mqueue