Added ability to set timeout while getting job from queue
Added abstract base commands for long running jobs