Remove eventmachine direct dependency