change timeout switch case