change asynchron thread handling to native bukkit