Changed timeout value from seconds to milliseconds

Moved timeout value to settings