Reduced the key mapping timeout from 1000 to 500