Please consider using finally block to reset your implicit wait to default value, it's less error prone and avoids code duplication.
finally