Put a timeout of 30 seconds to aid with Ticket #3412
Move this global declaration to the proper file rather than backend code