TJ/HM: set timeout to 1 sec in server.py