refat timeout now set to 7 seconds
removed wrong if-clause in main.c