bugfix: fork a new thread when message dispatch error