support em automatic binding to local thread