fix timeout issue
add regexp for improving status check