fixed hanging issue in araqne/igloosec#16