Fixed event loop setTimeout issue, updated travis